<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
	<!-- Sidebar user panel -->
	<div class="user-panel">
		<div class="pull-left image">
			<img src="<c:url value='/resources/dist/img/user2-160x160.jpg' />" class="img-circle"
				alt="User Image" />
		</div>
		<div class="pull-left info">
			<p>Alexander Pierce</p>

			<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
		</div>
	</div>
	<!-- search form -->
	<form action="#" method="get" class="sidebar-form">
		<div class="input-group">
			<input type="text" name="q" class="form-control"
				placeholder="Search..." /> <span class="input-group-btn">
				<button type='submit' name='search' id='search-btn'
					class="btn btn-flat">
					<i class="fa fa-search"></i>
				</button>
			</span>
		</div>
	</form>
	<!-- /.search form -->
	<!-- sidebar menu: : style can be found in sidebar.less -->
	<ul class="sidebar-menu" ng-controller="LocationController">
		<li class="active treeview"
			ng-class="{'active': activeURL == 'home', '': activeURL != 'home'}">
			<a href="<c:url value="/"/>"
			title='<spring:message code="header.home"/>'> <i
				class="fa fa-home fa-fw"></i> <spring:message
					code="header.home" />
		</a>
		</li>
		<li class="treeview"
			ng-class="{'gray': activeURL == 'contacts', '': activeURL != 'contacts'}">
			<a title='<spring:message code="header.contacts"/>'
			href="<c:url value='/protected/contacts'/>"> <i
				class="fa fa-user fa-fw"></i> <spring:message
					code="header.contacts" />
		</a>
		</li>
		<li class="treeview"
			ng-class="{'gray': activeURL == 'grupos', '': activeURL != 'grupos'}">
			<a title='<spring:message code="header.grupos"/>'
			href="<c:url value='/protected/grupos'/>"> <i
				class="fa fa-group fa-fw"></i> <spring:message
					code="header.grupos" />
		</a>
		</li>
	</ul>
</section>
<!-- /.sidebar -->

<script src="<c:url value='/resources/js/pages/header.js' />"></script>